package com.shop.member.service;

import java.util.List;

import com.shop.member.vo.MemberVO;

public interface MemberService {

	/**
	 * 회원 리스트
	 * @return
	 */
	public List<MemberVO.MemberItem> listMember(int current_page,
												int list_row_no,
												String src_type,
												String src_keyword);
	//회원 총 갯수
	public int getTotalMemberCount(String src_type, String src_keyword);
	
	/**
	 * 회원가입 여부
	 * @param memberItem
	 * @return
	 */
	public int isUserCnt(String id, String pw);

	/**
	 * 회원가입
	 * @param memberItem
	 * @return
	 */
	public int addMember(MemberVO.MemberItem memberItem);
	
	/**
	 * 회원상세조회
	 * @param seq
	 * @return
	 */
	public MemberVO.MemberItem getMember(String seq);
	
	/**
	 * 회원정보 수정
	 * @param memberItem
	 * @return
	 */
	public int updateMember(MemberVO.MemberItem memberItem);
	
	/**
	 * 회원삭제
	 * @param seq
	 * @return
	 */
	public int deleteMember(String seq);
}
